package com.datang.pet.mapper;

import com.datang.pet.pojo.TalkComplainRecord;
import com.datang.pet.pojo.TalkComplainRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TalkComplainRecordMapper {
    long countByExample(TalkComplainRecordExample example);

    int deleteByExample(TalkComplainRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(TalkComplainRecord record);

    int insertSelective(TalkComplainRecord record);

    List<TalkComplainRecord> selectByExample(TalkComplainRecordExample example);

    TalkComplainRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TalkComplainRecord record, @Param("example") TalkComplainRecordExample example);

    int updateByExample(@Param("record") TalkComplainRecord record, @Param("example") TalkComplainRecordExample example);

    int updateByPrimaryKeySelective(TalkComplainRecord record);

    int updateByPrimaryKey(TalkComplainRecord record);
}